<template>
  <div>
    <h3>App</h3>
    <button @click="$store.commit('CHANGE_LIU_DE_HUA')">刘德华：{{$store.state.liuDeHua}}</button>
    <button @click="$store.commit('CHANGE_GUO_FU_CHENG')">郭富城：{{$store.state.guoFuCheng}}</button>
    <button @click="$store.commit('CHANGE_STATE',{prop:'liMing',vote:3})">黎明：{{$store.state.liMing}}</button>
    <button @click="$store.commit('CHANGE_ZHANG_XUE_YOU',4)">张学友：{{$store.state.zhangXueYou}}</button>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style scoped>
</style>